![]() |
VIVE 3DSP Native C Library
ver 1.0.0.0
Audio 3DSP (3D Sound Perception) Native C Library
|
#include <audio_engine.h>
Public Member Functions | |
| VIVE_3DSP_Vector3 | operator- (const VIVE_3DSP_Vector3 &a) |
| VIVE_3DSP_Vector3 | operator+ (const VIVE_3DSP_Vector3 &a) |
| VIVE_3DSP_Vector3 | operator* (const float &a) |
| VIVE_3DSP_Vector3 | operator/ (const float &a) |
| bool | equals (VIVE_3DSP_Vector3 a) |
Static Public Member Functions | |
| static float | Dot (VIVE_3DSP_Vector3 a, VIVE_3DSP_Vector3 b) |
| static float | Mag (VIVE_3DSP_Vector3 a) |
Data Fields | |
| float | x |
| float | y |
| float | z |
A point or vector in 3D space. Here we use a right-handed coordinate system, with the positive x-axis pointing right, the positive y-axis pointing up, and the negative z-axis pointing ahead. If it stands for the rotation of the object, (x, y, z) will represent (roll, pitch, yaw).
|
static |
| bool HTC_Vive3DSP_SDK::VIVE_3DSP_Vector3::equals | ( | VIVE_3DSP_Vector3 | a | ) |
|
static |
| VIVE_3DSP_Vector3 HTC_Vive3DSP_SDK::VIVE_3DSP_Vector3::operator* | ( | const float & | a | ) |
| VIVE_3DSP_Vector3 HTC_Vive3DSP_SDK::VIVE_3DSP_Vector3::operator+ | ( | const VIVE_3DSP_Vector3 & | a | ) |
| VIVE_3DSP_Vector3 HTC_Vive3DSP_SDK::VIVE_3DSP_Vector3::operator- | ( | const VIVE_3DSP_Vector3 & | a | ) |
Overloading the vector substration.
| VIVE_3DSP_Vector3 HTC_Vive3DSP_SDK::VIVE_3DSP_Vector3::operator/ | ( | const float & | a | ) |
| float HTC_Vive3DSP_SDK::VIVE_3DSP_Vector3::x |
The x-coordinate direction or the roll rotation.
| float HTC_Vive3DSP_SDK::VIVE_3DSP_Vector3::y |
The y-coordinate direction or the pitch rotation.
| float HTC_Vive3DSP_SDK::VIVE_3DSP_Vector3::z |
The z-coordinate direction or the yaw rotation.
1.8.14